package com.wocai.jrt.orgadmin.enterprise.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.enterprise.dao.EnterpriseShareholderDao;
import com.wocai.jrt.orgadmin.enterprise.model.EnterpriseShareholder;
import com.wocai.jrt.orgadmin.enterprise.model.EnterpriseShareholderBean;
import com.wocai.jrt.orgadmin.enterprise.service.spi.EnterpriseShareholderService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 企业股东相关的service业务实现。
 * @author yinlei
 * @date 2016-5-6 14:22:15
 */
@Named
public class EnterpriseShareholderServiceImpl extends MyBatisServiceImpl<EnterpriseShareholder, EnterpriseShareholderBean, String> implements EnterpriseShareholderService {
	// 添加了方法后，记得改为private
	protected EnterpriseShareholderDao enterpriseShareholderDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<EnterpriseShareholder, EnterpriseShareholderBean, String> enterpriseShareholderDao) {
		this.baseDao = enterpriseShareholderDao;
		this.enterpriseShareholderDao = (EnterpriseShareholderDao) enterpriseShareholderDao;
	}
}
